package com.tbvtc.agriculturalcreditchainserver2025.pojo.Iot.huaWei;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.NumberFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HuaWeiIotRespond {
    private String Name;
    //保留一位小数点
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "0.0")
    private String Value;
    private String RecordTime;

}
